package com.wm.blog_common.constatnt;

/***
 * @ClassName: ErrorConstant
 * @Description: 错误提示常量
 * @Author: 半卷流年
 * @Create_time: 14:38 2020-3-17
 */
public class ErrorConstant {


    public static String USER_PW_ACCOUNT_EMPTY = "用户账号/密码为空";


    public static String USER_PW_ACCOUNT_ERROR = "用户账号/密码错误";


    public static String ROLE_ID_EMPTY = "角色id为空";

    public static String MENU_ID_EMPTY = "菜单id为空";

    public static String MENU_PARENT_ID_EMPTY = "菜单id为空";

    public static String MENU_ROLE_NO_EMPTY = "该菜单关联了角色,请先解除关系后删除";

    public static String MENU_NOT_PERMISSION = "当前用户无权操作该菜单";

    public static String MENU_SORT_UNCHANGE = "当前菜单遵循当前排序";

    public static String MENU_INFO_ERROR = "查无菜单信息";

    public static String ROUTE_ID_EMPTY = "路由id为空";

    public static String ROUTE_ALEXSIT = "路由已经存在";

    public static String ROUTE_ADD_FAIL = "新增动态路由失败";

    public static String ROUTE_EDIT_FAIL = "修改动态路由失败";

    public static String ROUTE_DELETE_FAIL = "删除动态路由失败";

    public static String ROUTE_NOT_EXSIT = "路由信息不存在";


    public static String TOKEN_EMPTY = "token缺失";

    public static String TOKEN_EXPIRE = "token过期失效";


    public static String ADMIN_USERNAME_EMPTY = "用户名为空";

    public static String BLOG_ID_EMPTY = "博客id为空";


    public static String PW_CONFIRM_ERROR = "密码和确认密码不一致";

    public static String USER_NAME_EXSIT = "用户名已存在";

    public static String MOBILE_ILLEGAL = "手机号不合法";

    public static String LOGIN_TYPE_ERROR = "登录类型异常";

    public static String IMAGE_CODE_RANDOM = "验证码随机数为空";


    public static String IMAGE_CODE_CHECK_ERROR = "图形验证码错误/已过期";

    public static String USER_USERNAME_PASSWORD_ERROR = "用户账号/密码错误请重新登录";

    public static String USER_ID_EMPTY = "用户id为空";

    public static String PASSWORD_EMPTY = "密码为空";

    public static String OLD_PASSWORD_ERROR = "原密码错误";

    public static String OLD_NEW_PASSWORD_SAME = "原密码和新密码相同";


    public static String ADMIN_ID_EMPTY = "admin用户id为空";

    public static String BLOG_RECOMMEND_EXSIT = "请勿重复推荐博客";

    public static String BLOG_RECOMMEND_ID_EMPTY = "推荐id为空";

    public static String ICON_TYPE_REPERT = "icon图标名称重名";

    public static String ICON_TYPE_REPERT_DATA = "icon图标名称已经存在";

    public static String ICON_ID_empty = "icon图标id为空";

    public static String ICON_NOT_EXSIT = "图标不存在";

    public static String ICON_IS_USE = "图标在使用中,不能删除";

    public static String ICON_TYPE_EMPTY = "图标名称为空";

    public static String ICON_SORT_TOP = "当前图标已经是置顶";

    public static String ROLE_NAME_EMPTY = "角色名称为空";

    public static String ROLE_NAME_EXSIT = "角色名称已经存在";

    public static String USER_EMAIL_EMPTY = "邮箱为空";

    public static String USER_EMAIL_EXIST = "邮箱已经被注册";

    public static String USER_EMIAL_ILLEGAL = "邮箱不合法";


    public static String MOBLIE_ILLEGAL = "手机号不合法";

    public static String USER_ERROR = "用户信息错误";

    public static String ACCOUNT_NOT_PERSSION = "当前账号无权限操作";

    public static String ACCOUNT_ACTIVE_ERROR = "当前账号处于激活状态,请勿重复激活";

    public static String USER_QQ_NUMBER_ILLEGAL = "用户QQ号非法";

    public static String USER_MOBILE_EXIST = "手机号已经存在";

    public static String USER_QQ_EXIST = "QQ号已存在";

    public static String USER_PUBLISH_LOGIN_ERROR = "请先登录,在发布博客";

    public static String BLOG_LIKE_REPEAT = "不能对自己的博客进行点赞";

    public static String BLOG_LIKE_TODAY_ERROR = "对相同的博客限定一天只能点赞一次";

    public static String USER_NO_LOGIN = "用户未登录/登录过期";

    public static String BLOG_FLAG_MISS = "博客标识缺失";

    public static String BUTTON_FLAG_MISS = "按钮标识错误";

    public static String BUTTON_ID_EMPTY = "按钮权限id为空";

    public static String BUTTON_URL_EMPTY = "按钮权限地址为空";

    public static String BUTTON_URL_ILLEGAL = "按钮权限地址不合法,必须是:/check/blog 或者 check/blog 形式的";

    public static String BUTTON_URL_REPEAT = "按钮权限地址已经存在了";

    public static String BLOG_TAG_ID_EMPTY = "标签id为空";

    /**
     * 未登录返回状态码
     */
    public static Integer ADMIN_NOT_LOGIN = 401;

    public static String BUTTON_ID_LITS_EMPTY = "按钮id数组为空";

}
